package com.koron.system.menu.service;

import com.koron.bean.base.BaseQueryBean;
import com.koron.bean.system.menu.MenuBean;
import com.koron.system.common.util.MenuTreeVo;

import java.util.List;

public interface MenuService {
    int insertMenu(MenuBean menuBean);

    int updateMenu(MenuBean menuBean);

    int deleteMenuById(String id);

    int deleteMenuList(List<String> ids);

    List<MenuTreeVo> queryMenuTree(MenuBean menuBean);

    List<MenuTreeVo> queryAppMenuTree(MenuBean menuBean);

    List<MenuTreeVo> queryLineAppMenuTree(MenuBean menuBean);

    MenuBean querySingleMenu(MenuBean menuBean);

    List<MenuBean> queryMenuList(MenuBean menuBean, BaseQueryBean queryBean);

    Long queryMenuListCount(MenuBean menuBean);

    MenuBean queryByCode(String code);
}
